package deibay.client.core;

import javax.swing.JOptionPane;

import deibay.client.core.views.IShowMessageView;

public class ShowMessageView implements IShowMessageView{

	public void showError(String title, String content) {		
		//JOptionPane.showMessageDialog(null, "Successfull.", "Login", 1);
		JOptionPane.showMessageDialog(null, content, title, 1);
	}

	public void showSucessfull(String title, String content) {
		//JOptionPane.showMessageDialog(null, "Successfull.", "Login", 1);
		JOptionPane.showMessageDialog(null, content, title, 1);
	}

	public void showWarning(String title, String content) {
		//JOptionPane.showMessageDialog(null, "Successfull.", "Login", 1);
		JOptionPane.showMessageDialog(null, content, title, 1);
	}

}
